{% extends "forum/base.html" %}
{% comment %}
<!--
  Copyright (C) 2008 ZHENG Zhong <heavyzheng nospam-at gmail D0T com>
  - http://heavyz.blogspot.com/
  - http://buggarden.blogspot.com/

  This template displays the result of the request for creating a new forum board. It requires that
  the following variables are set:
  - info  : the info message to display.
  - error : the error message to display.
  - board : the forum board created, or None if failed to create.

  Created on 2008-10-20.
  $Id: create_board_result.html 251 2008-10-27 15:06:45Z heavyzheng $
-->
{% endcomment %}

{#------------------------------------------------------------------------------------------------#}

{% block html_head %}

<title>
  {% if error %}
    {{ error }}
  {% endif %}
  {% if not error and info %}
    {{ info }}
  {% endif %}
  :: Bug Garden Forum
</title>

{% endblock %}{# html_head #}

{#------------------------------------------------------------------------------------------------#}

{% block header %}
<div class="title">
  {% if error %}
    {{ error }}
  {% endif %}
  {% if not error and info %}
    {{ info }}
  {% endif %}
</div>
{% endblock %}{# header #}

{#------------------------------------------------------------------------------------------------#}

{% block content %}

<div id="create_board_result" class="section">

  {% if board %}
    <p><b>Board name:</b></p>
    <p>{{ board.name|escape }}</p>
    <p><b>Board description:</b></p>
    <p>{{ board.desc|escape|linebreaks }}</p>
  {% endif %}
  
  <p>
    <a href="/forum/">Return to Bug Garden Forum</a>
  </p>

</div><!--/#create_board_result-->

{% endblock %}{# content #}



